package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-17
 */
@TableName("nb_cur_fengkou")
public class CurFengkou extends Model<CurFengkou> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_dm")
    private String gDm;
    @TableField("g_name")
    private String gName;
    @TableField("g_price")
    private Double gPrice;
    @TableField("g_rate")
    private Double gRate;
    @TableField("g_trade")
    private String gTrade;
    @TableField("g_zlje")
    private Double gZlje;
    @TableField("g_zlbuy")
    private Double gZlbuy;
    @TableField("g_zlshell")
    private Double gZlshell;
    @TableField("g_date")
    private Date gDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgDm() {
        return gDm;
    }

    public void setgDm(String gDm) {
        this.gDm = gDm;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public Double getgPrice() {
        return gPrice;
    }

    public void setgPrice(Double gPrice) {
        this.gPrice = gPrice;
    }

    public Double getgRate() {
        return gRate;
    }

    public void setgRate(Double gRate) {
        this.gRate = gRate;
    }

    public String getgTrade() {
        return gTrade;
    }

    public void setgTrade(String gTrade) {
        this.gTrade = gTrade;
    }

    public Double getgZlje() {
        return gZlje;
    }

    public void setgZlje(Double gZlje) {
        this.gZlje = gZlje;
    }

    public Double getgZlbuy() {
        return gZlbuy;
    }

    public void setgZlbuy(Double gZlbuy) {
        this.gZlbuy = gZlbuy;
    }

    public Double getgZlshell() {
        return gZlshell;
    }

    public void setgZlshell(Double gZlshell) {
        this.gZlshell = gZlshell;
    }

    public Date getgDate() {
        return gDate;
    }

    public void setgDate(Date gDate) {
        this.gDate = gDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CurFengkou{" +
        "id=" + id +
        ", gDm=" + gDm +
        ", gName=" + gName +
        ", gPrice=" + gPrice +
        ", gRate=" + gRate +
        ", gTrade=" + gTrade +
        ", gZlje=" + gZlje +
        ", gZlbuy=" + gZlbuy +
        ", gZlshell=" + gZlshell +
        ", gDate=" + gDate +
        "}";
    }
}
